package cn.stu.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 应用程序
 *
 * @author HGZS
 * @date 2023/08/18
 */
@SpringBootApplication
@EnableScheduling
@EnableAsync
@ComponentScan(basePackages = "cn.stu.*")
@MapperScan("cn.stu.*.mapper")
@MapperScan("cn.stu.**.mapper")
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }


}
